<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:p="http://primefaces.org/ui"
	template="/WEB-INF/templates/template.xhtml">
    <ui:define name="content">
    <h:form id="form" align="center">
		<div id="block" align="center" style="width : 800px; font-size: 10pt" >
		<p:panel id="panel">
		<h:messages/>
    	<f:facet name="header">
    		<h:outputText value="Create Patient" />
		</f:facet>
    	<h:panelGrid columns="7" rows="4">
    				<h:outputText value="Patient Id: " />
        			<p:inputText value="#{patientBean.patient.patientId}" id="id" required="true" disabled="true"/>
    				<h:outputText value="First Name: " />
        			<p:inputText value="#{patientBean.patient.firstName}" id="firstname" required="true" />
        			<h:outputText value="Last Name: " />
        			<p:inputText value="#{patientBean.patient.lastName}" id="lastname" required="true" /> 
    	</h:panelGrid>
    	<br />
        	
    		</p:panel>
		</div>

		</h:form>

    </ui:define>
</ui:composition>
